from django.contrib import admin
from .models import *


@admin.register(PurchaseOrder)
class PurchaseOrderAdmin(admin.ModelAdmin):
    list_display = ['supplier', 'order_date', 'comment',
                    'discount_pect', 'pay_discount']
    search_fields = ['supplier', 'order_date', 'comment',
                     'discount_pect', 'pay_discount']
